package org.dxy.infrastructure.persistent.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.dxy.infrastructure.entity.query.BomViewEntity;

import java.util.List;

/**
 * BOM查询服务接口
 */
public interface BomViewService extends IService<BomViewEntity> {
    
    /**
     * 根据产品ID查询BOM
     */
    BomViewEntity getByProductId(Long productId);
    
    /**
     * 根据产品ID列表查询BOM
     */
    List<BomViewEntity> listByProductIds(List<Long> productIds);
}